import { getRouter } from '@/route/file-router'
import { User } from '@/types/User'
import StringUtil from '@/utils/StringUtil'
import React from 'react'
import { Link, Outlet } from 'react-router-dom'

export default function UserComponent() {

    const user: User = {
        name: 'John Doe',
    }


  return (
    <div>
        UserComponent
        <button onClick={() =>   getRouter()}>Click Me</button>


<li><Link to={'/'}>mian</Link></li>
<li><Link to={'/home'}>home</Link></li>
<li><Link to={'/login'}>Login</Link></li>
<hr />

<Outlet/>

        </div>
  )
}
